package com.Archive.thirdWeek.pat;

public class Dog {
    private String name;
    private String stain;

    public Dog(String name, String stain) {
        this.name = name;
        this.stain = stain;
    }

    public Dog() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStain() {
        return stain;
    }

    public void setStain(String stain) {
        this.stain = stain;
    }

    @Override
    public String toString() {
        return "Dog{" +
                "name='" + name + '\'' +
                ", stain='" + stain + '\'' +
                '}';
    }
}
